package com.yima.baseproj.module.app.tongzhi;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yima.baseproj.module.app.tongzhi.model.AppTongzhiSearchModel;
import org.springframework.stereotype.Service;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

@Service
public class AppTongzhiService extends ServiceImpl<AppTongzhiMapper, AppTongzhiEntity> {

    public Page<LinkedHashMap> findByPage(Page page, AppTongzhiSearchModel searchVo) {
        return baseMapper.findBySearchVo(page,searchVo);
    }

    public List<LinkedHashMap> findByList(AppTongzhiSearchModel searchVo) {
        return baseMapper.findBySearchVo(searchVo);
    }

    public Map findHomeShow() {
        return baseMapper.findHomeShow();
    }
}